package com.goldcn.picture.dao;

import com.goldcn.picture.model.PicStorage;
import com.goldcn.picture.vo.StorageByUserVo;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface PicStorageMapper {
    int deleteByPrimaryKey(Long storageid);

    int insert(PicStorage record);

    int insertSelective(PicStorage record);

    PicStorage selectByPrimaryKey(Long storageid);

    int updateByPrimaryKeySelective(PicStorage record);

    int updateByPrimaryKey(PicStorage record);

    List<Map<String,String>> selectListByUserId(StorageByUserVo storageByUserVo);

    List<PicStorage> selectAllList();
}
